#ifndef UTILS_H
#define UTILS_H

#include <QKeyEvent>

namespace br {
namespace org {
namespace core {

class Utils
{
public:        
    bool isHorizontalMove( QKeyEvent* event );
    bool isVerticalMove( QKeyEvent* event );
    bool isToUp( QKeyEvent* event );
    bool isToDown( QKeyEvent* event );
    bool isToLeft( QKeyEvent* event );
    bool isToRight( QKeyEvent* event );
    static Utils* get();
    virtual ~Utils();
protected:
    Utils();
private:
    static Utils* instance;
};

} // namespace core
} // namespace org
} // namespace br

#endif // UTILS_H
